﻿using ED.Entity;

namespace ED.Model.Request
{
    public class DepartmentRes
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 组织机构名称    
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 部门编号    
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 父级id    
        /// </summary>
        public int? ParentId { get; set; }

        /// <summary>
        /// 归属城市    
        /// </summary>
        public int? OwnerCity { get; set; }

        /// <summary>
        /// 排序号    
        /// </summary>
        public int? Sort { get; set; }

        /// <summary>
        /// 是否可用    
        /// </summary>
        public bool? Active { get; set; }

        /// <summary>
        /// 部门类型:1-业务部门;2-职能部门;    
        /// </summary>
        public string BusiessType { get; set; }

        /// <summary>
        /// 备注    
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 团队称号    
        /// </summary>
        public string TeamTitle { get; set; }

        /// <summary>
        /// 树形结构使用
        /// </summary>
        public List<DepartmentRes> Children { get; set; }
    }
}
